/**
 * caicongyang.com Inc.
 * Copyright (c) 2004-2017 All Rights Reserved.
 */
package com.caicongyang.design.decortor;

/**
 * @author caicongyang1
 * @version id: Decorate, v 0.1 17/5/13 下午7:54 caicongyang1 Exp $$
 */
public abstract class Decorate extends Component {
    private Component component;

    public void setComponent(Component component) {
        this.component = component;
    }

    @Override
    public void operation() {
        System.out.println("operate");
    }
}
